

// 导入自定义页面组件
import Error from '../pages/Error'
import NetMonitor from '../pages/NetMonitor'
import RecordVideo from '../pages/RecordVideo'
import RecordVideoCall from '../pages/RecordVideoCall'
import MutiZipDownload from '../pages/MutiZipDownload'
import FileViewer from '../pages/FileViewer'
import SwiperSlick from '../pages/Swiper'
import VideoCall from '../pages/VideoCall'
import ElementFullScreen from '../pages/ElementFullScreen'
import TableToolTips from '../pages/TableToolTips'
import DrawerForm from '../pages/DrawerForm'
import Pooling from '../pages/Pooling'
import CustomHookAnimation from '../pages/CustomHookAnimation'
import NavigateToNewTab from '../pages/NavigateToNewTab'

// 打开多个新标签页
import OpenMultipleCommunicatingTabs from '../pages/OpenMultipleCommunicatingTabs'
import OpenMultipleCommunicatingTabsSub from '../pages/OpenMultipleCommunicatingTabsSub'



// import NavigateToNewTabSub from '../pages/NavigateToNewTab/CommunicateTab.jsx'
import NavigateToNewTabSub from '../pages/NavigateToNewTab/CommunicateTabMulti.jsx'


import NavigateNewTabRouter from '../pages/NavigateNewTabRouter'
import About from '../pages/About'

import ElementDraggable from '../pages/ElementDraggable'
import Dragula from '../pages/Dragula'
import DragulaSingle from '../pages/DragulaSigle'

import Thing3DScene from '../pages/Thing3DScene'

export const mainRoutes = [
    {
        path: '/404',
        title: '错误',
        component: Error
    }
]


export const adminRoutes = [
    {
        path: '/admin/monitor',
        title: '监控',
        component: NetMonitor,
        exact: true,
        show: false,
    },
    {
        path: '/admin/video',
        title: '录像',
        component: RecordVideo,
        exact: true,
        show: false,
    },
    {
        path: '/admin/video-call',
        title: '通话',
        component: RecordVideoCall,
        exact: true,
        show: false,
    },
    {
        path: '/admin/muti-zip-download',
        title: '多文件合并zip下载',
        component: MutiZipDownload,
        exact: true,
        show: false,
    },
    {
        path: '/admin/file-viewer',
        title: 'office文件预览',
        component: FileViewer,
        exact: true,
        show: false,
    },
    {
        path: '/admin/swiper',
        title: '轮播图',
        component: SwiperSlick,
        exact: true,
        show: false,
    },
    {
        path: '/admin/video-callkit',
        title: '视频通话',
        component: VideoCall,
        exact: true,
        show: false,
    },
    {
        path: '/admin/fullscreen',
        title: '全屏',
        component: ElementFullScreen,
        exact: true,
        show: false,
    },
    {
        path: '/admin/table-tooltips',
        title: '表格tooltip',
        component: TableToolTips,
        exact: true,
        show: false,
    },
    {
        path: '/admin/drawer-form',
        title: '表单抽屉',
        component: DrawerForm,
        exact: true,
        show: false,
    },
    {
        path: '/admin/looping',
        title: '根据switch开关进行轮询',
        component: Pooling,
        exact: true,
        show: false,
    },
    {
        path: '/admin/custom-hook-animation',
        title: '自定义hook',
        component: CustomHookAnimation,
        exact: true,
        show: false,
    },
    {
        path: '/admin/navigate-new-tab-multi',
        title: '跳转新标签页-多个',
        component: OpenMultipleCommunicatingTabs,
        exact: true,
        show: false,
    },
    {
        path: '/admin/communicate-tab-multi',
        title: '子新标签页-多个',
        component: OpenMultipleCommunicatingTabsSub,
        exact: true,
        show: false,
    },
    {
        path: '/admin/navigate-new-tab',
        title: '跳转新标签页',
        component: NavigateToNewTab,
        exact: true,
        show: false,
    },
    {
        path: '/admin/communicate-tab',
        title: '子新标签页',
        component: NavigateToNewTabSub,
        exact: true,
        show: false,
    },
    {
        path: '/admin/communicate-tab-router',
        title: '路由新标签页',
        component: NavigateNewTabRouter,
        exact: true,
        show: false,
    },
    {
        path: '/admin/about',
        title: '路由子新标签页',
        component: About,
        exact: true,
        show: false,
    },
    {
        path: '/admin/dragger',
        title: '拖拽',
        component: ElementDraggable,
        exact: true,
        show: false,
    },
    {
        path: '/admin/dragula',
        title: '拖拽dragula',
        component: Dragula,
        exact: true,
        show: false,
    },
    {
        path: '/admin/dragula-single',
        title: '拖拽dragula-单列表',
        component: DragulaSingle,
        exact: true,
        show: false,
    },
    {
        path: '/admin/thing-3d-scene',
        title: '3D场景',
        component: Thing3DScene,
        exact: true,
        show: false,
    }
]